package cn.bugstack.domain.order.adapter.repository;


import cn.bugstack.domain.order.model.aggregate.CreateOrderAggregate;
import cn.bugstack.domain.order.model.entity.OrderEntity;
import cn.bugstack.domain.order.model.entity.PayOrderEntity;
import cn.bugstack.domain.order.model.entity.ShopCartEntity;

/**
 * @author 丨一
 * @version 1.0
 * @title IOrderRepository
 * @description:
 * @date 2024/11/12 18:35
 */
public interface IOrderRepository {
    OrderEntity queryUnPayOrder(ShopCartEntity shopCartEntity);

    void updateOrderPayInfo(PayOrderEntity payOrder);

    void saveOrder(CreateOrderAggregate createOrderAggregate);
}
